{% load namedqueryset_tags %}
<h5 class="filter_title">{{ filter.name }}</h5>
<ul class="{{ filter.slug }}">
{% for c in choices %}
  <li><a class="filter_link {% ifequal c.value choice %}selected{% endifequal %}"
         href="{% set_url_param filter.params.choice c.value %}"
      >{{ c.display|escape }}</a>
  </li>
{% endfor %}
</ul>